<?php

	class UserEntity{
		
		/**
		 * 自增ID
		 * @var int
		 */
		private $userId;
		
		/**
		 * 用户名
		 * @var varchar(50)
		 */
		private $userName;
		
		/**
		 * 密码
		 * @var varchar(1024)
		 */
		private $userPassword;
		
		/**
		 * 创建时间
		 * @var timestamp
		 */
		private $createdTime;
		
		/**
		 * 权限控制  1：最高权限
		 * @var smallint
		 */
		private $level;
		
		/**
		 * @return the $userId
		 */
		public function getUserId() {
			return $this->userId;
		}
	
		/**
		 * @return the $userName
		 */
		public function getUserName() {
			return $this->userName;
		}
	
		/**
		 * @return the $userPassword
		 */
		public function getUserPassword() {
			return $this->userPassword;
		}
	
		/**
		 * @return the $createdTime
		 */
		public function getCreatedTime() {
			return $this->createdTime;
		}
	
		/**
		 * @return the $level
		 */
		public function getLevel() {
			return $this->level;
		}
	
		/**
		 * @param number $userId
		 */
		public function setUserId($userId) {
			$this->userId = $userId;
		}
	
		/**
		 * @param varchar(50) $userName
		 */
		public function setUserName($userName) {
			$this->userName = $userName;
		}
	
		/**
		 * @param varchar(1024) $userPassword
		 */
		public function setUserPassword($userPassword) {
			$this->userPassword = $userPassword;
		}
	
		/**
		 * @param timestamp $createdTime
		 */
		public function setCreatedTime($createdTime) {
			$this->createdTime = $createdTime;
		}
	
		/**
		 * @param smallint $level
		 */
		public function setLevel($level) {
			$this->level = $level;
		}

		
		
	}